home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / ixemul / sdk / man / cat7 / environ.0 < prev    next >
Encoding:
Text File  |  1998-06-15  |  3.9 KB  |  81 lines

  1.  
  2. ENVIRON(7)                   UNIX Reference Manual                  ENVIRON(7)
  3.  
  4. NNAAMMEE
  5.      eennvviirroonn - user environment
  6.  
  7. SSYYNNOOPPSSIISS
  8.      _e_x_t_e_r_n _c_h_a_r _*_*_e_n_v_i_r_o_n;
  9.  
  10. DDEESSCCRRIIPPTTIIOONN
  11.      An array of strings called the _e_n_v_i_r_o_n_m_e_n_t is made available by execve(2)
  12.      when a process begins.  By convention these strings have the form
  13.      ``_n_a_m_e_=_v_a_l_u_e''. The following names are used by various commands:
  14.  
  15.      BLOCKSIZE  The size of the block units used by several commands, most no-
  16.                 tably df(1),  du(1) and ls(1).  BLOCKSIZE may be specified in
  17.                 units of a byte by specifying a number, in units of a kilobyte
  18.                 by specifying a number followed by ``K'' or ``k'', in units of
  19.                 a megabyte by specifying a number followed by ``M'' or ``m''
  20.                 and in units of a gigabyte by specifying a number followed by
  21.                 ``G'' or ``g''.  Sizes less than 512 bytes or greater than a
  22.                 gigabyte are ignored.
  23.  
  24.      EXINIT     A startup list of commands read by ex(1),  edit(1),  and
  25.                 vi(1).
  26.  
  27.      HOME       A user's login directory, set by login(1) from the password
  28.                 file passwd(5).
  29.  
  30.      PATH       The sequence of directories, separated by colons, searched by
  31.                 csh(1),  sh(1),  system(3),  execvp(3),  etc, when looking for
  32.                 an executable file.  PATH is set to ``/usr/bin:/bin'' initial-
  33.                 ly by login(1).
  34.  
  35.      PRINTER    The name of the default printer to be used by lpr(1),  lpq(1),
  36.                  and lprm(1).
  37.  
  38.      SHELL      The full pathname of the user's login shell.
  39.  
  40.      TERM       The kind of terminal for which output is to be prepared.  This
  41.                 information is used by commands, such as nroff(1) or plot(1)
  42.                 which may exploit special terminal capabilities.  See
  43.                 _/_u_s_r_/_s_h_a_r_e_/_m_i_s_c_/_t_e_r_m_c_a_p (termcap(5))  for a list of terminal
  44.                 types.
  45.  
  46.      TERMCAP    The string describing the terminal in TERM, or, if it begins
  47.                 with a '/', the name of the termcap file.  See TERMPATH below,
  48.                 termcap(5),  and termcap.
  49.  
  50.      TERMPATH   A sequence of pathnames of termcap files, separated by colons
  51.                 or spaces, which are searched for terminal descriptions in the
  52.                 order listed.  Having no TERMPATH is equivalent to a TERMPATH
  53.                 of ``_$_H_O_M_E_/_._t_e_r_m_c_a_p_:_/_e_t_c_/_t_e_r_m_c_a_p''. TERMPATH is ignored if
  54.                 TERMCAP contains a full pathname.
  55.  
  56.      TMPDIR     The directory in which to store temporary files.  Most appli-
  57.                 cations use either ``/tmp'' or ``/var/tmp''. Setting this
  58.                 variable will make them use another directory.
  59.  
  60.      TZ         The timezone to use when displaying dates.  The normal format
  61.                 is a pathname relative to ``/usr/share/zoneinfo''. For exam-
  62.                 ple, the command ``env TZ=US/Pacific date'' displays the cur-
  63.                 rent time in California.  See tzset(3) for more information.
  64.  
  65.      USER       The login name of the user.
  66.  
  67.      Further names may be placed in the environment by the export command and
  68.      _n_a_m_e_=_v_a_l_u_e arguments in sh(1),  or by the setenv command if you use
  69.      csh(1).  It is unwise to change certain sh(1) variables that are fre-
  70.      quently exported by _._p_r_o_f_i_l_e files, such as MAIL, PS1, PS2, and IFS, un-
  71.      less you know what you are doing.
  72.  
  73. SSEEEE AALLSSOO
  74.      csh(1),  ex(1),  login(1),  sh(1),  execve(2),  execle(3),  system(3),
  75.      termcap(3),  termcap(5)
  76.  
  77. HHIISSTTOORRYY
  78.      The eennvviirroonn manual page appeared in 4.2BSD.
  79.  
  80. 4.2 Berkeley Distribution       April 19, 1994                               2
  81.